package cn.iocoder.yudao.module.question.controller.admin.question.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import javax.validation.constraints.*;

/**
* 试题信息 Base VO，提供给添加、修改、详细的子 VO 使用
* 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
*/
@Data
public class QuestionBaseVO {

    @Schema(description = "所属题库", required = true, example = "12347")
    @NotNull(message = "所属题库不能为空")
    private Long bankId;

    @Schema(description = "父ID", example = "2750")
    private Long parentQuestionId;

    @Schema(description = "试题内容")
    private String questionContent;

    @Schema(description = "试题类型", required = true, example = "1")
    @NotNull(message = "试题类型不能为空")
    private Long questionType;

    @Schema(description = "难度等级", required = true)
    @NotNull(message = "难度等级不能为空")
    private Long questionLevel;

    @Schema(description = "整题解析")
    private String standardAnalysis;

    @Schema(description = "严格按序作答", required = true)
    private Boolean itemOrder;
}
